const data = {
  hongguoMF: 1,
  kuaishou: 1,
  toutiao: 1,
  kuaishouJS: 1,
  toutiaoSS: 1,

  daishu: 0.5,
  douyinJS: 2,
  baiduJS: 0.3,
  wukong: 1,
  baidu: 0.4,

  douyinHS: 0.4,
  baiduCT: 0.3,
  douyinSC: 0.3,
  fanqieXS: 0.4,
  douyin: 0.2,

  fanqieCT: 0.3,
  xigua: 0.4,
  fanqieYY: 0.3,
  danhua: 0.3,
  changdu: 0.3,

  qimao: 0.1,
  sudu: 0.2,
  shengdu: 0.2,
  dejian: 0.1,

  yueya: 0.2,
  quanming: 0.3,
};

function compute(data) {
  return Object.keys(data).reduce((pre, cur) => {
    return pre + data[cur] * 10;
  }, 0);
}
// node .\doc\money\money2.js
console.log(compute(data) / 10);
